﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace FirmaTransportowa.ViewsInterfaces
{
    public interface IView<T>
    {
        event Action ObjectSelected;
        IList<T> objectsList { get; }
        T selectedObject { get; }

        void LoadObjects(BindingSource source);
        void LoadObject(T obj);
    }
}
